/* 登录页面样式 */
.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
}

.login-navbar {
  background: transparent !important;
  color: white !important;
  border-bottom: none !important;
}

.login-navbar .adm-nav-bar-title {
  color: white !important;
  font-weight: 600;
}

.login-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
  color: white;
}

.login-header h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.login-header p {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
}

.login-tabs {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.login-tabs .adm-tabs-header {
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}

.login-tabs .adm-tabs-tab {
  font-weight: 500;
  color: #666;
}

.login-tabs .adm-tabs-tab-active {
  color: #1677ff;
  font-weight: 600;
}

.login-tabs .adm-tabs-tab-line {
  background: #1677ff;
}

.login-form,
.register-form {
  padding: 30px 20px;
}

.login-form .adm-space,
.register-form .adm-space {
  gap: 16px;
}

.login-form .adm-input,
.register-form .adm-input {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.login-form .adm-input:focus,
.register-form .adm-input:focus {
  border-color: #1677ff;
  background: white;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.1);
}

.login-form .adm-button,
.register-form .adm-button {
  height: 48px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}

.form-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.gender-select {
  flex: 1;
  height: 44px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 16px;
  background: #fafafa;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
}

.gender-select:focus {
  border-color: #1677ff;
  background: white;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.1);
}

.form-row .adm-input {
  flex: 1;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .login-content {
    padding: 16px;
  }
  
  .login-header h2 {
    font-size: 24px;
  }
  
  .login-header p {
    font-size: 14px;
  }
  
  .login-form,
  .register-form {
    padding: 20px 16px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 16px;
  }
  
  .gender-select {
    width: 100%;
  }
}

/* 加载状态样式 */
.adm-button-loading {
  opacity: 0.7;
}

/* 错误状态样式 */
.adm-input-error {
  border-color: #ff4d4f !important;
  background: #fff2f0 !important;
}

/* 成功状态样式 */
.adm-input-success {
  border-color: #52c41a !important;
  background: #f6ffed !important;
} 